package com.hzy.fivepalace.db.vo.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "确认订单入参实体对象")
@Data
public class WxConfirmOrderQueryVo {

    @ApiModelProperty(value = "是否购物车下单,必填")
    private boolean cartBuy;

    @ApiModelProperty(value = "规格id:不是购物车为必填")
    private Integer specificationId;

    @ApiModelProperty(value = "购买数量:不是购物车为必填")
    private int number;

    @ApiModelProperty(value = "选择的券id:首次调用可不传")
    private Integer couponsId;

    @ApiModelProperty(value = "收货地址id,配送方式为2物流用,首次调用可不传")
    private Integer addressId;

    @ApiModelProperty(value = "备注:提交订单时用")
    private String remark;

    /**
     * 分组结算id:写死的，1就是结算购物车中的非自提商品，2就是结算购物车中的可自提商品
     */
    @ApiModelProperty(value = "分组结算id")
    private Long groupBySettlementId;

    /**
     * 配送方式:0快递,1自提,首次调用可不传
     */
    @ApiModelProperty(value="配送方式:0快递,1自提,首次调用可不传")
    private Integer freightType;

    @ApiModelProperty(value="收货人手机号:配送方式为1自提用,提交订单接口必填")
    private String mobile;

    @ApiModelProperty(value="收货人名称:配送方式为1自提用,提交订单接口必填")
    private String consignee;

    @ApiModelProperty(value="订单类型: 0 - 普通订单 1 - 团购商品订单")
    private Integer orderType;

    @ApiModelProperty(value="如果订单类型是团购订单，上传团购的id")
    private Integer groupId;

}
